<form method="post" class="form-horizontal">
    <fieldset>
        <legend><?php echo isset($data) ? 'Sửa' : 'Thêm mới';?> nhóm tin tức</legend>
        <?php if (isset($error)):?>
            <div class="alert alert-error"><?php echo $error;?></div>
        <?php else :?>
            <?php if (isset($msg)):?><div class="alert alert-success"><?php echo $msg;?></div><?php endif;?>
        <?php endif;?>
        <div class="control-group">
            <label class="control-label" for="title">Tiêu đề nhóm tin tức</label>
            <div class="controls">
                <input type="text" class="input-xxlarge" name="title" id="title" value="<?php echo @$data->title;?>" />
            </div>
        </div>

        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn">Lưu lại</button>
            </div>
        </div>
    </fieldset>
</form>